package me.jollyfly.jshop.api.gateway;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;


/**
 * @author jollyfly
 *
 */

@EnableZuulProxy
@SpringBootApplication
@EnableDiscoveryClient
public class ApiGetewayApp {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ApiGetewayApp.class).web(true).run(args);
    }
}
